package com.qujia.station.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qujia.common.annotation.Excel;
import io.swagger.annotations.ApiModelProperty;

import java.util.Date;
import java.util.List;

public class InventoryBatch {

    @ApiModelProperty(value = "库存盘点批次id")
    private Long id;

    @Excel(name = "盘点单号")
    @ApiModelProperty(value = "盘点单号")
    private String batchNo;

    @ApiModelProperty(value = "油站id")
    private Long stationId;

    private List<Long> stationIdList;

    @Excel(name = "盘点仓库/门店")
    @ApiModelProperty(value = "油站名称")
    private String stationName;

    @Excel(name = "审核意见")
    @ApiModelProperty(value = "审核意见")
    private String reviewNotes;

    @Excel(name = "审核状态",readConverterExp = "0=待审核,1=已通过,2=已拒绝")
    @ApiModelProperty(value = "审核状态 0:待审核,1:已通过,2:已拒绝")
    private String reviewStatus;

    @ApiModelProperty(value = "删除标识 0：未删除,1：删除")
    private String isDeleted;

    @ApiModelProperty(value = "操作人id")
    private Long operatorId;

    @Excel(name = "操作人")
    @ApiModelProperty(value = "操作人")
    private String operator;

    @ApiModelProperty(value = "审核人id")
    private Long reviewerId;

    @Excel(name = "审核人")
    @ApiModelProperty(value = "审核人名")
    private String reviewerName;

    @Excel(name = "盘点时间",dateFormat = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "盘点时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date inventoryTime;

    @ApiModelProperty(value = "审核时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date reviewTime;

    @ApiModelProperty(value = "库存盘点详情列表")
    private List<InventoryDetails> inventoryDetailsList;

    @ApiModelProperty(value = "开始时间")
    private String beginTime;

    @ApiModelProperty(value = "结束时间")
    private String endTime;

    @ApiModelProperty(value = "页码")
    private Integer pageNum;

    @ApiModelProperty(value = "每页条数")
    private Integer pageSize;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getBatchNo() {
        return batchNo;
    }

    public void setBatchNo(String batchNo) {
        this.batchNo = batchNo == null ? null : batchNo.trim();
    }

    public Long getStationId() {
        return stationId;
    }

    public void setStationId(Long stationId) {
        this.stationId = stationId;
    }

    public List<Long> getStationIdList() {
        return stationIdList;
    }

    public void setStationIdList(List<Long> stationIdList) {
        this.stationIdList = stationIdList;
    }

    public String getStationName() {
        return stationName;
    }

    public void setStationName(String stationName) {
        this.stationName = stationName == null ? null : stationName.trim();
    }

    public String getReviewStatus() {
        return reviewStatus;
    }

    public void setReviewStatus(String reviewStatus) {
        this.reviewStatus = reviewStatus == null ? null : reviewStatus.trim();
    }

    public String getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(String isDeleted) {
        this.isDeleted = isDeleted == null ? null : isDeleted.trim();
    }

    public Long getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Long operatorId) {
        this.operatorId = operatorId;
    }

    public String getOperator() {
        return operator;
    }

    public void setOperator(String operator) {
        this.operator = operator == null ? null : operator.trim();
    }

    public String getReviewNotes() {
        return reviewNotes;
    }

    public void setReviewNotes(String reviewNotes) {
        this.reviewNotes = reviewNotes == null ? null : reviewNotes.trim();
    }

    public Long getReviewerId() {
        return reviewerId;
    }

    public void setReviewerId(Long reviewerId) {
        this.reviewerId = reviewerId;
    }

    public String getReviewerName() {
        return reviewerName;
    }

    public void setReviewerName(String reviewerName) {
        this.reviewerName = reviewerName == null ? null : reviewerName.trim();
    }

    public Date getInventoryTime() {
        return inventoryTime;
    }

    public void setInventoryTime(Date inventoryTime) {
        this.inventoryTime = inventoryTime;
    }

    public Date getReviewTime() {
        return reviewTime;
    }

    public void setReviewTime(Date reviewTime) {
        this.reviewTime = reviewTime;
    }

    public List<InventoryDetails> getInventoryDetailsList() {
        return inventoryDetailsList;
    }

    public void setInventoryDetailsList(List<InventoryDetails> inventoryDetailsList) {
        this.inventoryDetailsList = inventoryDetailsList;
    }

    public String getBeginTime() {
        return beginTime;
    }

    public void setBeginTime(String beginTime) {
        this.beginTime = beginTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public Integer getPageNum() {
        return pageNum;
    }

    public void setPageNum(Integer pageNum) {
        this.pageNum = pageNum;
    }

    public Integer getPageSize() {
        return pageSize;
    }

    public void setPageSize(Integer pageSize) {
        this.pageSize = pageSize;
    }
}